package com.kxmall.storage.domain.bo;

import com.kxmall.common.core.validate.EditGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 仓库管理业务对象 kx_storage
 */

@Data
@ApiModel("仓库管理业务对象")
public class KxStorageBo {

    @ApiModelProperty(value = "仓库主键ID")
    @NotNull(message = "仓库主键ID不能为空", groups = { EditGroup.class })
    private Long id;

    @ApiModelProperty(value = "仓库名称")
    private String name;

    @ApiModelProperty(value = "省")
    private Long province;

    @ApiModelProperty(value = "市")
    private Long city;

    @ApiModelProperty(value = "区（县）")
    private Long county;

    @ApiModelProperty(value = "详细地址")
    private String address;

    @ApiModelProperty(value = "区域编码")
    private String adcode;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "状态 0.禁用 1.正常")
    private Integer state;

    @ApiModelProperty(value = "经度")
    private BigDecimal longitude;

    @ApiModelProperty(value = "纬度")
    private BigDecimal latitude;

    @ApiModelProperty(value = "仓库管理电话")
    private String phone;

    @ApiModelProperty(value = "仓库管理名称")
    private String leaderName;

    //@ApiModelProperty(value = "营业状态 0.休息 1.营业")
    //private Integer operatingState;

    //@ApiModelProperty(value = "营业起始时间")
    //private String businessStartTime;

    //@ApiModelProperty(value = "配送起始时间")
    //private String deliveryStartTime;

    //@ApiModelProperty(value = "营业结束时间")
    //private String businessStopTime;

    //@ApiModelProperty(value = "配送结束时间")
    //private String deliveryStopTime;

    //@ApiModelProperty(value = "配送范围")
    //private Long deliveryRadius;

    //@ApiModelProperty(value = "是否自动分配订单【0：非自动 1：自动】")
    //private Integer automatic;

    //@ApiModelProperty(value = "状态 0.禁用 1.正常")
    //private Integer printSwitch;

    //@ApiModelProperty(value = "账号名")
    //private String printAcount;

    //@ApiModelProperty(value = "Ukey")
    //private String printUkey;

    //@ApiModelProperty(value = "SN")
    //private String printSn;


}
